package com.example.server.mapper;


import com.example.server.entity.Writer;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface WriterMapper {

    Writer getWriterById(int idwriter);
    List<Writer> getAllWriters();
    void insertWriter(Writer writer);
    void updateWriter(Writer writer);
    void deleteWriter(int idwriter);
    String getPenNameByIdwriter(int idwriter);
}
